<?php

function getFTPRealPath(){
	return "public_html/";
}

function ftp_makeDir($dirPath) {
    $host = "112.213.89.15";
    $user = "giaan4s";
    $pass = "760ebba418b4";
	
    $conn_id = ftp_connect($host);
    $login_result = ftp_login($conn_id, $user, $pass);
	
    if ((!$conn_id) || (!$login_result)) die;

    ftp_mkdir($conn_id, $dirPath);
    ftp_chmod($conn_id, 0777, $dirPath); 
    ftp_quit($conn_id);
} 
?>